<include file="common/hearder"/>



<div class="page-header">
    <div class="pull-left">
        <h4><span class="glyphicon glyphicon-tag"></span>简历管理回收站\Recruitment management recycling station</h4>
    </div>
</div>
<div class="pull-right">
    <form action="{:U('index')}" >
        <input type="text" name="value" placeholder="输入查询查询内容">
        <input type="submit" name="search" class="btn btn-mystyle btn-sm" value="搜索">
    </form>
</div>
<div class="manage-left">
    <a onclick="$('#form_all').submit();" class="btn btn-info glyphicon glyphicon-download-alt">恢复数据</a>
    <a href="{:U('index')}" class="btn btn-warning glyphicon glyphicon glyphicon glyphicon-share-alt">返回</a>
</div>
<div class="clearfix"></div>
<div class="table-margin">
    <form action="{:U('rdel_all')}" method="post" id="form_all">
        <table class="table table-bordered table-header">
            <thead>
            <tr>
                <td><input class="ch_all" type="checkbox"></td>
                <td>ID</td>
                <td>投简历人</td>
               <td>性别</td>
                <td >年龄</td>
                <td>学历</td>
                <td>经验</td>
                <td>投简历的意向</td>
                <td>投简历的时间</td>
                <td>处理意见</td>
                <td>处理时间</td>
                <td>处理人</td>
                <td>状态</td>
                <td>操作</td>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="v">
                <tr>
                    <td><input name="rmnid[]" value="{$v.rmn_id}" type="checkbox" class="ch_id"></td>
                    <td>{$v.rmn_id}</td>
                    <td>{$v.preson}</td>
                  <td>{$v['sex'] == 1 ? '男':'女'}</td>
                    <td>{$v.age}</td>
                    <td>{$v.rmd_study}</td>
                    <td>{$v.rmd_seniority}</td>
                    <td>{$v.rmd_intention}</td>
                    <td>{$v.rmd_pubtime}</td>
                    <td>{$v.rmd_time}</td>
                    <td>{$v.rmd_manage}</td>
                    <td>{$v.rmd_men}</td>
                    <td>{$v['state'] == 1 ? '已处理':'<span style="color: red;">未处理</span>'}</td>
                    <td>
                        <div class="am-btn-toolbar">
                            <div class="am-btn-group am-btn-group-xs">
                                <a href="{:U('r_edit',array('rmn_id'=>$v['rmn_id']))}"><span class="glyphicon glyphicon-penci"></span>恢复单条数据</a>
                                <a href="{:U('r_del',array('rmn_id'=>$v['rmn_id']))}"><span class="glyphicon glyphicon-trash"></span> 删除</a>
                            </div>
                        </div>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </form>
    <div class="ys">
        共{$count}条数据
        {$show}
    </div>
</div>
</div>
<script>
    //全选  反选
    $('.ch_all').on('click',function () {
        if($(this).prop('checked')){
            $('.ch_id').each(function () {
                if($(this).prop('checked')){
                    $(this).prop('checked',false);
                }
                else {
                    $(this).prop('checked',true);
                }
            })
        }
        else {
            $('.ch_id').prop('checked',false);
        }
    });
</script>








<include file="common/footer"/>
